/*
 * An XML document type.
 * Localname: tliTcStart
 * Namespace: http://sei.buaa.edu/mdt/tli
 * Java type: edu.buaa.sei.mdt.tli.TliTcStartDocument
 *
 * Automatically generated - do not modify.
 */
package edu.buaa.sei.mdt.tli.impl;
/**
 * A document containing one tliTcStart(@http://sei.buaa.edu/mdt/tli) element.
 *
 * This is a complex type.
 */
public class TliTcStartDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements edu.buaa.sei.mdt.tli.TliTcStartDocument
{
    private static final long serialVersionUID = 1L;
    
    public TliTcStartDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TLITCSTART$0 = 
        new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "tliTcStart");
    
    
    /**
     * Gets the "tliTcStart" element
     */
    public edu.buaa.sei.mdt.tli.TliTcStartDocument.TliTcStart getTliTcStart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            edu.buaa.sei.mdt.tli.TliTcStartDocument.TliTcStart target = null;
            target = (edu.buaa.sei.mdt.tli.TliTcStartDocument.TliTcStart)get_store().find_element_user(TLITCSTART$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "tliTcStart" element
     */
    public void setTliTcStart(edu.buaa.sei.mdt.tli.TliTcStartDocument.TliTcStart tliTcStart)
    {
        generatedSetterHelperImpl(tliTcStart, TLITCSTART$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "tliTcStart" element
     */
    public edu.buaa.sei.mdt.tli.TliTcStartDocument.TliTcStart addNewTliTcStart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            edu.buaa.sei.mdt.tli.TliTcStartDocument.TliTcStart target = null;
            target = (edu.buaa.sei.mdt.tli.TliTcStartDocument.TliTcStart)get_store().add_element_user(TLITCSTART$0);
            return target;
        }
    }
    /**
     * An XML tliTcStart(@http://sei.buaa.edu/mdt/tli).
     *
     * This is a complex type.
     */
    public static class TliTcStartImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements edu.buaa.sei.mdt.tli.TliTcStartDocument.TliTcStart
    {
        private static final long serialVersionUID = 1L;
        
        public TliTcStartImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName TS$0 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "ts");
        private static final javax.xml.namespace.QName SRC$2 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "src");
        private static final javax.xml.namespace.QName LINE$4 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "line");
        private static final javax.xml.namespace.QName C$6 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "c");
        private static final javax.xml.namespace.QName TCID$8 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "tcId");
        private static final javax.xml.namespace.QName TCIPARS$10 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "tciPars");
        private static final javax.xml.namespace.QName DUR$12 = 
            new javax.xml.namespace.QName("http://sei.buaa.edu/mdt/tli", "dur");
        
        
        /**
         * Gets the "ts" element
         */
        public edu.buaa.sei.mdt.tli.TsDocument.Ts getTs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TsDocument.Ts target = null;
                target = (edu.buaa.sei.mdt.tli.TsDocument.Ts)get_store().find_element_user(TS$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "ts" element
         */
        public void setTs(edu.buaa.sei.mdt.tli.TsDocument.Ts ts)
        {
            generatedSetterHelperImpl(ts, TS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "ts" element
         */
        public edu.buaa.sei.mdt.tli.TsDocument.Ts addNewTs()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TsDocument.Ts target = null;
                target = (edu.buaa.sei.mdt.tli.TsDocument.Ts)get_store().add_element_user(TS$0);
                return target;
            }
        }
        
        /**
         * Gets the "src" element
         */
        public edu.buaa.sei.mdt.tli.SrcDocument.Src getSrc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.SrcDocument.Src target = null;
                target = (edu.buaa.sei.mdt.tli.SrcDocument.Src)get_store().find_element_user(SRC$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "src" element
         */
        public void setSrc(edu.buaa.sei.mdt.tli.SrcDocument.Src src)
        {
            generatedSetterHelperImpl(src, SRC$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "src" element
         */
        public edu.buaa.sei.mdt.tli.SrcDocument.Src addNewSrc()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.SrcDocument.Src target = null;
                target = (edu.buaa.sei.mdt.tli.SrcDocument.Src)get_store().add_element_user(SRC$2);
                return target;
            }
        }
        
        /**
         * Gets the "line" element
         */
        public edu.buaa.sei.mdt.tli.LineDocument.Line getLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.LineDocument.Line target = null;
                target = (edu.buaa.sei.mdt.tli.LineDocument.Line)get_store().find_element_user(LINE$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "line" element
         */
        public void setLine(edu.buaa.sei.mdt.tli.LineDocument.Line line)
        {
            generatedSetterHelperImpl(line, LINE$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "line" element
         */
        public edu.buaa.sei.mdt.tli.LineDocument.Line addNewLine()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.LineDocument.Line target = null;
                target = (edu.buaa.sei.mdt.tli.LineDocument.Line)get_store().add_element_user(LINE$4);
                return target;
            }
        }
        
        /**
         * Gets the "c" element
         */
        public edu.buaa.sei.mdt.tli.CDocument.C getC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.CDocument.C target = null;
                target = (edu.buaa.sei.mdt.tli.CDocument.C)get_store().find_element_user(C$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "c" element
         */
        public void setC(edu.buaa.sei.mdt.tli.CDocument.C c)
        {
            generatedSetterHelperImpl(c, C$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "c" element
         */
        public edu.buaa.sei.mdt.tli.CDocument.C addNewC()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.CDocument.C target = null;
                target = (edu.buaa.sei.mdt.tli.CDocument.C)get_store().add_element_user(C$6);
                return target;
            }
        }
        
        /**
         * Gets the "tcId" element
         */
        public edu.buaa.sei.mdt.tli.TcIdDocument.TcId getTcId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TcIdDocument.TcId target = null;
                target = (edu.buaa.sei.mdt.tli.TcIdDocument.TcId)get_store().find_element_user(TCID$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "tcId" element
         */
        public void setTcId(edu.buaa.sei.mdt.tli.TcIdDocument.TcId tcId)
        {
            generatedSetterHelperImpl(tcId, TCID$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "tcId" element
         */
        public edu.buaa.sei.mdt.tli.TcIdDocument.TcId addNewTcId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TcIdDocument.TcId target = null;
                target = (edu.buaa.sei.mdt.tli.TcIdDocument.TcId)get_store().add_element_user(TCID$8);
                return target;
            }
        }
        
        /**
         * Gets the "tciPars" element
         */
        public edu.buaa.sei.mdt.tli.TciParsDocument.TciPars getTciPars()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TciParsDocument.TciPars target = null;
                target = (edu.buaa.sei.mdt.tli.TciParsDocument.TciPars)get_store().find_element_user(TCIPARS$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "tciPars" element
         */
        public void setTciPars(edu.buaa.sei.mdt.tli.TciParsDocument.TciPars tciPars)
        {
            generatedSetterHelperImpl(tciPars, TCIPARS$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "tciPars" element
         */
        public edu.buaa.sei.mdt.tli.TciParsDocument.TciPars addNewTciPars()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.TciParsDocument.TciPars target = null;
                target = (edu.buaa.sei.mdt.tli.TciParsDocument.TciPars)get_store().add_element_user(TCIPARS$10);
                return target;
            }
        }
        
        /**
         * Gets the "dur" element
         */
        public edu.buaa.sei.mdt.tli.DurDocument.Dur getDur()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.DurDocument.Dur target = null;
                target = (edu.buaa.sei.mdt.tli.DurDocument.Dur)get_store().find_element_user(DUR$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "dur" element
         */
        public void setDur(edu.buaa.sei.mdt.tli.DurDocument.Dur dur)
        {
            generatedSetterHelperImpl(dur, DUR$12, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "dur" element
         */
        public edu.buaa.sei.mdt.tli.DurDocument.Dur addNewDur()
        {
            synchronized (monitor())
            {
                check_orphaned();
                edu.buaa.sei.mdt.tli.DurDocument.Dur target = null;
                target = (edu.buaa.sei.mdt.tli.DurDocument.Dur)get_store().add_element_user(DUR$12);
                return target;
            }
        }
    }
}
